from common.database import db_connect
db_session,Base,engine = db_connect()
from sqlalchemy import Table
class User(Base):
    __table__ = Table("user",Base.metadata,autoload_with=engine)
    def get_one(self):
        return  db_session.query(User).first()